package com.cr.api.vo;

import com.cr.common.annotation.Excel;
import com.cr.common.core.domain.BaseEntity;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 平台结算流水对象 cr_amount_flow
 * 
 * @author G
 * @date 2021-10-03
 */
@Data
public class AmountFlowVo
{
    /** 流水id */
    @ApiModelProperty("流水号")
    private Long recordId;

    /** 类型 */
    @ApiModelProperty("类型 0债权交易，1债权线索，2金点子服务")
    private Integer type;

    /** 类型 */
    @ApiModelProperty("类型 0债权交易，1债权线索，2金点子服务")
    private String typeName;

    /** 金额 */
    @ApiModelProperty("金额")
    private BigDecimal amount;

    /** 方式 ，0收入，1支出 */
    @ApiModelProperty("方式 0收入，1支出")
    private Integer mode;

    /** 方式 ，0收入，1支出 */
    @ApiModelProperty("方式 0收入，1支出")
    private String modeName;

    /** 时间*/
    @ApiModelProperty("时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    @ApiModelProperty("收支渠道")
    private String channel;

    public Long getRecordId() {
        return recordId;
    }

    public void setRecordId(Long recordId) {
        this.recordId = recordId;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getTypeName() {
        return typeName;
    }

    public void setTypeName(String typeName) {
        this.typeName = typeName;
    }

    public BigDecimal getAmount() {
        return amount;
    }

    public void setAmount(BigDecimal amount) {
        this.amount = amount;
    }

    public Integer getMode() {
        return mode;
    }

    public void setMode(Integer mode) {
        this.mode = mode;
    }

    public String getModeName() {
        return modeName;
    }

    public void setModeName(String modeName) {
        this.modeName = modeName;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getChannel() {
        return channel;
    }

    public void setChannel(String channel) {
        this.channel = channel;
    }
    
    
}
